Scheduling and Packing in the Constraint Language Cc(fd) Scheduling and Packing in the Constraint Language Cc(fd)
نویسنده
چکیده
Constraint Logic Programming (CLP), and its generalization in the cc framework, deene a class of declarative constraint languages combining nondeterministic goal-directed programming with constraint techniques over an arbitrary domain. CLP languages are particularly attractive for combinatorial search problems as they ooer a short development time and a reasonable eeciency. In this paper, we present the application of cc(FD), a CLP language using consistency techniques over nite domains, to two applications: the perfect square problem and a Digital Signal Processing (DSP) problem. The perfect square problem amounts to placing squares of diierent sizes in a master square in an exact manner (i.e. no empty space remains). We show a natural and very short cc(FD) program solving the problem for 21 and 24 squares in a couple of seconds. The DSP application amounts to scheduling tasks on a multiprocessor in presence of precedence, capacity, and delay constraints. The complexity of the problem is exacerbated by the non-uniform communication delays coming from the architecture which combines pipeline and master-slave processing. We present a short cc(FD) program which compares very well with a special-purpose branch and bound algorithm. Both applications show the versatility of languages such as cc(FD) for the solving of discrete combinatorial search problems.
منابع مشابه
Design,implementations,and Evaluation of the Constraint Language Cc(fd) Design, Implementation, and Evaluation of the Constraint Language Cc(fd)
This paper describes the design, implementation, and applications of the constraint logic language cc(FD). cc(FD) is a declarative nondeterministic constraint logic language over nite domains based on the cc framework 27], an extension of the CLP scheme 16]. Its constraint solver includes (non-linear) arithmetic constraints over natural numbers which are approximated using domain and interval c...
متن کاملDesign, Implementation, and Evaluation of the Constraint Language cc(FD)
. This paper describes the design, implementation, and applications of the constraint logic language cc(FD). cc(FD) is a declarative nondeterministic constraint logic language over nite domains based on the cc framework [33], an extension of the CLP scheme [21]. Its constraint solver includes (non-linear) arithmetic constraints over natural numbers which are approximated using domain and interv...
متن کاملConstraint Processing in Cc(fd)
Constraint logic programming languages such as CHIP have demonstrated the practicality of declar ative languages supporting consistency techniques and nondeterminism Nevertheless they su er from the black box e ect the programmer must work with a monolithic unmodi able inextensible constraint solver This problem can be overcome within the logically and computationally richer concurrent constrai...
متن کاملEfficient Labelling and Constraint Relaxation for Solving Time Tabling Problems
Constraint Logic Programming over Finite Domains, CLP(FD), has been in constant development for a few years. CLP(FD) allows an efficient resolution of various highly combinatorial problems in scheduling, cutting-stock, warehouse location, planning, molecular biology ... [DIN 90a,b,c], [BAP 92], [BEL 92], [CHA 92], [CLA 93], [BOI 94b]. From a software engineering view point, this approach provid...
متن کاملScheduling in a New Constraint Logic Programming Framework
Overview Constraint Logic Programming (CLP) has been an active eld of research during the past years and many programming languages have been proposed and some of them implemented to eeciently solve certain classes of problems. This project proposes a new framework for CLP, shows how the framework can be applied to a problem taken from Operations Research, and deenes a new language which implem...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 1994